package com.example.demo2.mapper;

import com.example.demo2.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface StudyMapper {

    @Select("select * from study where uID=#{uID}")
    public List<Study> findStudyByUID(@Param("uID") Integer uID);
}
